libmyc.a:mystdio.o
	ar -rc $@ $^
mystdio.o:mystdio.c
	gcc -c $<
.PHONY:output
output:
	mkdir -p lib/include
	mkdir -p lib/mylib
	cp *.a ./lib/mylib
	cp *.h ./lib/include
	tar czf lib.tgz lib
.PHONY:clean
clean:
	rm -rf mystdio.o libmyc.so
